﻿using System.Security.Claims;

namespace SXICE.WebAPI.Models
{
    /// <summary>
    /// 客户证件管理者
    /// </summary>
    public class CustomerClaimsPrincipal : ClaimsPrincipal
    {
        public CustomerClaimsPrincipal() { }

        public CustomerClaimsPrincipal(ClaimsPrincipal claimsPrincipal) : base(claimsPrincipal) { }

        /// <summary>
        /// Id
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDNumber { set; get; }

        /// <summary>
        /// 手机
        /// </summary>
        public long Phone { set; get; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
    }
}
